package com.myapp.ruyixing.http;

import org.json.JSONObject;

import com.myapp.ruyixing.model.Reservation;

public class ReservationParser extends RYJSONParser {
	@Override
	public Object parse(JSONObject jsonObject) {
		Reservation reservation = new Reservation();
		if (!ModelParser.parseModel(reservation, jsonObject)) {
			return null;
		}

		return reservation;
	}
}
